package com.cldz.dao;

import com.cldz.common.dto.req.DevControlDto;
import com.cldz.entity.DeviceControl;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @ Author     ：lixiao.
 * @ Date       ：Created in 9:22 2018/12/18
 * @ Description：
 * @ Modified By：
 */
@Mapper
public interface DevControlMapper {

    List<DeviceControl> getControlRecordByDeviceID(DevControlDto devControlDto);

    Integer getControlRecordAmountByDeviceID(DevControlDto devControlDto);

    List<DeviceControl> getAllControlRecord(DevControlDto devControlDto);

    Integer getAllControlRecordAmount(DevControlDto devControlDto);
}
